package route

import (
	"gitee.com/liuyun-luo/MagicStreamMovies/Server/controller"
	"github.com/gin-gonic/gin"
)

// 设置身份认证相关操作的路由
func SetupAuthsRouter(r *gin.Engine) {
	auth_group := r.Group("/api/v1/auth")
	{
		auth_group.POST("/register", controller.RegisterUser)

		auth_group.POST("/login", controller.LoginUser)
	}
}
